package hk.hku.hooku.pojo;

import java.util.ArrayList;

public class User {
	private String gmail;
	private String passwd;
	private String name;
	private ArrayList<Contact> contacts=new ArrayList<Contact>();
	private ArrayList<Event> proposeHistory=new ArrayList<Event>();
	
	public User() {
		super();
		this.contacts=new ArrayList<Contact>();
		this.proposeHistory=new ArrayList<Event>();
	}

	public User(String gmail, String passwd, String name) {
		super();
		this.gmail = gmail;
		this.passwd = passwd;
		this.name = name;
		this.contacts=new ArrayList<Contact>();
		this.proposeHistory=new ArrayList<Event>();
	}

	public User(String gmail, String passwd, String name,
			ArrayList<Contact> contacts, ArrayList<Event> proposeHistory) {
		super();
		this.gmail = gmail;
		this.passwd = passwd;
		this.name = name;
		this.contacts = contacts;
		this.proposeHistory = proposeHistory;
	}

	public String getGmail() {
		return gmail;
	}

	public String getPasswd() {
		return passwd;
	}

	public String getName() {
		return name;
	}

	public ArrayList<Contact> getContacts() {
		return contacts;
	}

	public ArrayList<Event> getProposeHistory() {
		return proposeHistory;
	}

	public void setGmail(String gmail) {
		this.gmail = gmail;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setContacts(ArrayList<Contact> contacts) {
		this.contacts = contacts;
	}

	public void setProposeHistory(ArrayList<Event> proposeHistory) {
		this.proposeHistory = proposeHistory;
	}

	
}
